<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="robots" content="all,follow">
    <!-- Bootstrap CSS-->
    <link rel="stylesheet" href="../resource/vendor/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome CSS-->
    <link rel="stylesheet" href="../resource/vendor/font-awesome/css/font-awesome.min.css">
    <!-- Fontastic Custom icon font-->
    <link rel="stylesheet" href="../resource/css/fontastic.css">
    <!-- Google fonts - Poppins -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,700">
    <!-- theme stylesheet-->
    <link rel="stylesheet" href="../resource/css/style.default.css" id="theme-stylesheet">
    <!-- Custom stylesheet - for your changes-->
    <link rel="stylesheet" href="../resource/css/custom.css">
    <!-- Favicon-->
    <link rel="shortcut icon" href="../resource/img/favicon.ico">
    <!-- Tweaks for older IEs--><!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
</head>

<%@ include file="/resource/include/hander.jsp"%>

<div class="page-content d-flex align-items-stretch">
    <!-- Side Navbar -->
    <nav class="side-navbar">

        <!-- Sidebar Navidation Menus--><span class="heading"></span>
        <ul class="list-unstyled">
            <li><a href="../tofound_naire.do"> <i class="icon-home"></i>创建问卷 </a></li>
            <li><a href="../to_naires.do"> <i class="icon-grid"></i>查看问卷列表 </a></li>
            <li><a href="../statistics.do"> <i class="fa fa-bar-chart"></i>查看问卷分析结果 </a></li>

        </ul>

    </nav>



        <div class="content-inner">
            <!-- Page Header-->
            <header class="page-header">
                <div class="container-fluid">

                </div>
            </header>
            <!-- Breadcrumb-->
            <div class="breadcrumb-holder container-fluid">
                <ul class="breadcrumb">

                </ul>
            </div>
            <!-- Forms Section-->
            <section class="forms">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-lg-3">

                        </div>
                        <!-- Basic Form-->
                        <div class="col-lg-6">
                            <div class="card">

                                <c:if test="${rows =='1'}">
                                    <div class="card-header d-flex align-items-center">
                                        <h2>发布成功</h2>
                                    </div>
                                    <div class="card-body">
                                        <p>问卷地址为</p>
                                        <p>${requestUrl}/naire_fill.do/${nid}</p>
                                    </div>
                                </c:if>

                                <c:if test="${rows =='0'}">
                                    <div class="card-header d-flex align-items-center">
                                        <h2>发布失败</h2>
                                    </div>
                                    <div class="card-body">

                                    </div>
                                </c:if>
                            </div>
                        </div>

                    </div>
                </div>
            </section>

        </div>
    </div>
</div>
<!-- JavaScript files-->
<script src="../resource/vendor/jquery/jquery.min.js"></script>
<script src="../resource/vendor/popper.js/umd/popper.min.js"> </script>
<script src="../resource/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="../resource/vendor/jquery.cookie/jquery.cookie.js"> </script>
<script src="../resource/vendor/chart.js/Chart.min.js"></script>
<script src="../resource/vendor/jquery-validation/jquery.validate.min.js"></script>
<!-- Main File-->
<script src="../resource/js/front.js"></script>
</body>
</html>